﻿using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CubicFWNet.Data.Models.Mapping
{
    public class TakeLogMap : EntityTypeConfiguration<TakeLog>
    {
        public TakeLogMap() {
            this.HasKey(t => t.Id);

            this.ToTable("TakeLog");
            this.Property(t => t.Id).HasColumnName("Id");
            this.Property(t => t.InventoryId).HasColumnName("InventoryId");
            this.Property(t => t.ProductId).HasColumnName("ProductId");
            this.Property(t => t.Memo).HasColumnName("Memo");
            this.Property(t => t.Comment).HasColumnName("Comment");
            this.Property(t => t.Creation).HasColumnName("Creation");
        }
    }
}
